package com.balabala.gym_goods.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author fsj
 * @date 2023/5/5 15:59
 */
@TableName("tb_evaluation")
@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
public class Evaluation {

    @TableId(type= IdType.AUTO)
    private Long id;

    //评价时间
    private Date evaluationTime;

    //课时
    private String courseTime;

    //会员id
    private Integer vipId;

    //教练id
    private Integer coachId;

    //训练感受
    private String experience;

    //服务
    private String service;

    //评价内容
    private String evaluation;

    //图片
    private String pic;

    //是否显示
    private Integer status;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    //商品id
    private Long spuId;

    //课程id
    private Long courseId;
}
